<%@ page language="java" contentType="text/html; charset=utf-8" isELIgnored="false"
    pageEncoding="utf-8"%>
 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
	 <%int i = 1; %>
  <div id="workspace" class="col-md-8">
  <div class="table-responsive">
   <table  class="table table-striped">
	<caption>正在等待审核转变出库的资产:</caption>
	<thead>
		<tr>
			<th>#</th>
			<th>ID</th>
			<th>名字</th>
			<th>种类</th>
			<th>数量</th>
			<th>地址</th>
			<th>接收单位名称</th>
			<th>转变价格</th>
			<th>转变资产负责人</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="asset" items="${sessionScope.changeLoading }">
		<tr class="warning">
			<td><%=i++ %></td>
			<td>${asset.id }</td>
			<td>${asset.name }</td>
			<td>${asset.category }</td>
			<td>${asset.number1 }</td>
			<td>${asset.address }</td>	
			<c:choose>
				<c:when test="${asset.now == '1' }"><td>校级管理处</td></c:when>
				<c:when test="${asset.now == '2' }"><td>网安学院</td></c:when>
				<c:when test="${asset.now == '3' }"><td>光电学院</td></c:when>
				<c:when test="${asset.now == '4' }"><td>控制学院</td></c:when>
				<c:when test="${asset.now == '5' }"><td>软件学院</td></c:when>
				<c:when test="${asset.now == '6' }"><td>英语学院</td></c:when>
				<c:when test="${asset.now == '7' }"><td>校外单位</td></c:when>
			</c:choose>
			<td>${asset.sellPrice }</td>
			<td>${asset.header }</td>
		</tr>
		</c:forEach>
		<%session.removeAttribute("changeLoading"); %> 
	</tbody>
   </table>
   </div>
  </div>
</body>
</html>